<% #endcoding:utf-8%>
<div class="message-nav row">
  <ul>
    <li <%if params[:stat].nil? %>class="actived"<%end%>><%=link_to "我的回答",@path%></li>
    <li <%if params[:stat]=='1' %>class="actived"<%end%>><%=link_to "已采纳",@path+"?stat=1"%></li>
    <li <%if params[:stat]=='0' %>class="actived"<%end%>><%=link_to "未采纳",@path+"?stat=0"%></li>
  </ul>
</div>